package jwj8508.oop;

public class J31_Account {

	public static void main(String[] args) {
		J31_AccountVO avo = new J31_AccountVO();
		avo.setAid(1122); avo.setBalance(20000); avo.setInterestRate(4.5F);
		
		J31_AccountInterface asvc = new J31_AccountService();
		asvc.withDraw(avo, 2500);
		asvc.withDraw(avo, 3000);
		
		System.out.println("잔액 : " + avo.getBalance());
		System.out.println("월간 이자율 : " + asvc.getMonthlyInterestRate(avo.getInterestRate()));
		System.out.println("통장 개설날짜 : " + avo.getDateCreated());

		
	}

}
